/* 重置默认样式 */
@import url("reset.css");

body{
    font: 14px/1.5 Helvetica Neue, Helvetica, Arial, Microsoft Yahei,
		Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
	color: #333;
	background-color: #fff;
	min-width: 1226px;
}

.container {
	width: 1226px;
	margin-right: auto;
	margin-left: auto;
}

/* header头部start */
/* 顶部导航栏start */
.site-topbar{
    width: 100%;
    height: 40px;
	font-size: 12px;
	color: #b0b0b0;
	background: #333;
	line-height: 40px;
}

.site-topbar .sep {
	margin: 0 3.6px;
	color: #424242;
}

.site-topbar a {
	color: #b0b0b0;
	display: inline-block;
	vertical-align: middle;
}
.site-topbar a:hover {
	color: #fff;
}

/* 左边导航栏 */
.topbar-nav {
	display: inline-block;
}

.site-topbar .topbar-info a {
	text-align: center;
}

/* 下载app */
.site-topbar .appcode {
	position: absolute;
	top: 40px;
	left: 42%;
	width: 124px;
	height: 0;
	background: #fff;
	-webkit-box-shadow: #aaa 0 1px 5px;
	box-shadow: 0 1px 5px #aaa;
	text-align: center;
	font-size: 14px;
	color: #333;
	line-height: 1;
	overflow: hidden;
	z-index: 1;
	-webkit-transition: height .3s;
	transition: height .3s;
}
.site-topbar .appcode img {
	display: block;
	margin: 18px auto 12px;
}
#J_siteDownloadApp:hover .appcode {
    height: 148px;
}

/* 购物车 */
.site-topbar .topbar-cart {
    position: relative;
	float: right;
	width: 120px;
	height: 40px;
	margin-left: 15px;
	background-color: #424242;
	-webkit-transition: all .2s;
	transition: all .2s;
	font-size: 12px;
}
/* 购物车图标 */
.topbar-cart em {
	width: 20px;
	height: 20px;
	margin-left: 10px;
	display: inline-block;
	vertical-align: -6px;
	background-image: url(../imgs/header/cart.png);
	background-size: 20px;
}
.topbar-cart:hover {
	background-color: #fff;
}
.topbar-cart:hover em {
	background-image: url(../imgs/header/cart_hover.png);
}
.topbar-cart:hover a {
	color: #ff6700;
}
/* 购物车隐藏的东东 */
.site-topbar .cart-menu {
	position: absolute;
	right: 0;
	top: 40px;
	z-index: 31;
	width: 316px;
	height: 0;
	color: #424242;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	overflow: hidden;
	transition: height .3s;
	text-align: center;
	line-height: 100px;
	font-size: 12px;
}
.site-topbar .topbar-cart:hover .cart-menu{
    height:100px;
}

/* 登录注册 */
.site-topbar .topbar-info {
	position: relative;
	float: right;
	height: 40px;
	margin-right: 10px;
	line-height: 40px;
}

/* 登录后的登录注册 */
#J_siteUserInfo {
	display: none;
}

.site-topbar .user {
	position: relative;
	width: 110px;
	padding: 0;
	color: #424242;
	white-space: nowrap;
}

.site-topbar .user:hover .user-menu-wrapper {
	height: 164px;
}

.site-topbar .user:hover .user-menu-wrapper a {
	color: #424242;
}

.site-topbar .user:hover .user-menu-wrapper a:hover {
	color: #FF6700;
	background-color: #F5F5F5;
}

.site-topbar .user:hover .user-name {
	background-color: #FFF;
	color: #424242;
}

.site-topbar .user:hover .user-name:hover {
	color: #FF6700;
}

.site-topbar .user-name {
	position: relative;
	z-index: 5;
	display: inline-block;
	width: 110px;
	height: 40px;
	text-align: center;
}

.site-topbar .user-name .name {
	display: inline-block;
	width: auto;
	max-width: 75px;
	text-overflow: ellipsis;
	vertical-align: text-bottom;
	overflow: hidden;
}

.site-topbar .user-name i {
	width: 25px;
	height: 24px;
	display: inline-block;
	line-height: 24px;
	vertical-align: 14px;
}

.site-topbar .user-menu-wrapper {
	position: absolute;
	left: 0;
	top: 28px;
	z-index: 3;
	height: 0;
	overflow: hidden;
	transition: height .3s;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.site-topbar .user-menu {
	width: 110px;
	padding: 7px 0;
	list-style-type: none;
}

.site-topbar .user-menu a {
	display: block;
	padding: 3px 30px;
	transition: all .2s;
	line-height: 2;
}

/* 顶部导航栏end */

/* 头部导航栏start */
/* 小米logo */
.header-logo {
	width: 55px;
	height: 55px;
	float: left;
	background-color: #FF6700;
	margin-top: 22px;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.header-logo ul {
	position: absolute;
	width: 110px;
	left: -55px;
	top: 0;
	cursor: pointer;
	-webkit-transition: left .3s;
	border-radius: 10px;
	transition: left .2s;
}

.header-logo:hover ul {
	left: 0;
}

.header-logo ul li {
	width: 55px;
	height: 55px;
	border-radius: 10px;
	float: left;
	background-color: #FF6700;
	background-position: 50% 50%;
}

.header-logo ul li a {
	width: 55px;
	height: 55px;
	display: block;
}

.header-logo li:nth-of-type(1) {
	background-color: #3385ff;
	background-image: url(../imgs/header/mi-logo.png);
}

.header-logo li:nth-of-type(2) {
	background-image: url(../imgs/header/mi-logo.png);
}

/* 导航栏 */
.site-header .header-nav {
	float: left;
	height: 100px;
	padding-top: 12px;
	margin-left: 185px;
}

.header-nav .nav-item {
	float: left;
}

.header-nav .nav-item a {
	display: block;
	padding: 26px 10px 38px;
	font-size: 16px;
	color: #333;
	-webkit-transition: color .2s;
	transition: color .2s;
}

/* 隐藏部分 */
.nav-item .item-children {
	position: absolute;
	left: 0;
	right: 0;
	display: none;
	font-size: 12px;
	border-top: 1px solid #e0e0e0;
	background-color: #fff;
	box-shadow: 0 3px 4px rgba(0, 0, 0, .18);
	z-index: 31;
}

.nav-item .item-children .children-list li {
	float: left;
	width: 201px;
	padding-top: 10px;
	text-align: center;
	position: relative;
}

/* 分割线 */
.nav-item .item-children .children-list li:before {
	position: absolute;
	left: 0;
	top: 35px;
	z-index: 1;
	width: 1px;
	height: 100px;
	content: "";
	background-color: #E0E0E0;
}
.nav-item .item-children .children-list li:first-child:before {
	width: 0;
}
/* 图片 */
.nav-item .item-children .children-list .list-image {
	width: 160px;
	height: 110px;
	margin: 0 auto 16px;
	text-align: center;
}
/* 商品名称 */
.nav-item .item-children .children-list li a .title {
	line-height: 20px;
	font-size: 12px;
	color: #333333;
}
/* 价格 */
.nav-item .item-children .children-list li a .price {
	line-height: 20px;
	font-size: 12px;
	color: #FF6700;
}
/* 搜索 */
.site-header .header-search {
	float: right;
	width: 296px;
	position: relative;
}
.site-header .search-btn,
.site-header .search-text {
	position: absolute;
	top: 25px;
	border: 1px solid #e0e0e0;
	-webkit-transition: all .2s;
	transition: all .2s;
}
/* 搜索框 */
.header-search .search-text {
	right: 51px;
	z-index: 1;
	width: 245px;
	height: 50px;
	padding: 0 10px;
	font-size: 14px;
	line-height: 50px;
	outline: 0;
}
/* 搜索按钮 */
.header-search .search-btn {
	right: 0;
	width: 52px;
	height: 50px;
	background-color: #fff;
	background-image: url(../imgs/header/search.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 23px;
	cursor: pointer;
}

.header-search .search-btn:hover {
	background-color: #ff6700;
}
/* 搜索文本款上面的超链接 */
.header-search .search-hot-words {
	position: absolute;
	top: 39px;
	right: 62px;
	z-index: 2;
	text-align: right;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
}

.header-search .search-hot-words a {
	display: inline-block;
	padding: 0 5px;
	font-size: 12px;
	background-color: #eee;
	color: #757575;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

.header-search .search-hot-words a:hover {
	background-color: #ff6700;
	color: #fff;
}
/* 搜索隐藏 */
.header-search .keyword-list {
	position: absolute;
	right: 51px;
	top: 75px;
	z-index: 20;
	width: 245px;
	border: 1px solid #ff6700;
	border-top: 0;
	background-color: #fff;
	display: none;
}

.header-search .keyword-list li a {
	display: block;
	padding: 6px 15px;
	font-size: 12px;
	color: #424242;
}

.header-search .keyword-list li a:hover {
	background-color: #eee;
}

/* 头部导航栏end */
/* header头部end */
/* ------------------------------------------------------------------- */
/* section主体内容start */
/* 主体内容的头部start */
.home-container {
	background-color: #FFFFFF;
	margin-bottom: 26px;
}
.container-top {
	width: 1226px;
	height: 460px;
	overflow: hidden;
	position: relative;
}
/* 图片上面的菜单 */
.container-top .goods-list {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 21;
	padding: 20px 0;
	width: 232px;
	height: 460px;
	font-size: 14px;
	border: 0;
	background: rgba(105, 101, 101, .6);
}
.goods-list .title {
	position: relative;
	display: block;
	padding-left: 30px;
	height: 42px;
	line-height: 42px;
	color: #fff;
}
.goods-list .title:hover {
	background-color: #FF6700;
}
.goods-list .title span {
	position: absolute;
	top: 0px;
	right: 20px;
	width: 16px;
	height: 42px;
	display: block;
}
/* 隐藏部分 */
.goods-list .children {
	display: none;
	position: absolute;
	left: 234px;
	top: 0;
	z-index: 24;
	height: 460px;
	width: 1000px;
	border: 1px solid #e0e0e0;
	border-left: 0;
	border-right: 0;
	background: #fff;
}

.site-category-list .children-list {
	width: 1000px;
}

.children .children-list li {
	float: left;
	width: 250px;
	height: 76px;
}

.children .children-list .link {
	display: block;
	width: 250px;
	height: 76px;
	padding: 18px 20px;
	line-height: 40px;
	color: #333;
	-webkit-transition: color .2s;
	transition: color .2s;
}

.children .children-list img {
	margin-right: 12px;
	display: inline-block;
	width: 40px;
	height: 40px;
	vertical-align: middle;
}

.children .children-list .text {
	display: inline-block;
	width: 150px;
	line-height: 40px;
	overflow: hidden;
	vertical-align: middle;
}

/* 轮播图片 */
.container-top .banner-list {
	width: 7356px;
	position: absolute;
	left: 0px;
}
.container-top .banner-list li {
	float: left;
}
.container-top .banner-list img {
	display: block;
	width: 1226px;
	height: 460px;
}

/* 分页按钮 */
.container-top .banner-pagination {
	position: absolute;
	right: 30px;
	bottom: 20px;
}

.container-top .banner-pagination li {
	float: left;
	margin: 0 4px;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(0, 0, 0, .4);
	opacity: 1;
	cursor: pointer;
}
.container-top .banner-pagination .active,
.container-top .banner-pagination li:hover {
	background-color: rgba(255,255,255,1);
}
/* 主体头部的下面部分 */
.homeBottom{
	margin-top: 14px;
	position: relative;
}
.homeBottom .homeBottom-list{
	display: grid;
	width: 300px;
	height: 200px;
	grid-template-rows: 100px 100px;
	grid-template-columns: 100px 100px 100px;
}
.homeBottom .homeBottom-list a{
	display: block;
	width: 100px;
	height: 100px;
	background-color: gray;
	text-align: center;
	overflow: hidden;
	color: #fff;
}
.homeBottom .homeBottom-list img{
	margin: 5px auto 15px;
	display: block;
}
.homeBottom .homeBottom-img{
	position: absolute;
	right: 0;
	top: 0;
}
.homeBottom .homeBottom-img li {
	float: left;
	margin-left: 8px;
	display: block;
	height: 200px;
}
.homeBottom .homeBottom-img img{
	width: 300px;
	height: 200px;
}
/* 主体内容的头部end */

/* 主体内容的分页部分start */
.page-main {
	padding-top: 4px;
	padding-bottom: 12px;
	background: #f5f5f5;
}

/* 分割图 */
.home-banner-box {
	height: 120px;
	margin: 24px 0 22px;
	overflow: hidden;
}

.home-banner-box img {
	width: 1226px;
	height: 120px;
}


/* 大量图片的共同部分start */

/* 标题 */
.main .box-hd {
	position: relative;
}
/* 标题h2 */
.main .box-hd h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 200;
	line-height: 58px;
	color: #333;
}

/* 标题的ul */
.main .box-hd .more5 {
	position: absolute;
	top: 0;
	right: 0;
}

.main .box-hd .more5 .tab-list {
	padding: 16px 0 0;
	font-size: 16px;
}

.main .box-hd .more5 .tab-list li {
	display: inline-block;
	color: #424242;
	margin: 0 0 0 30px;
	border-bottom: 2px solid rgba(0, 0, 0, 0);
	-webkit-transition: border .3s;
	transition: border .3s;
	cursor: pointer;
}

.main .box-hd .more5 .tab-list .tab-active {
	color: #ff6700;
	border-bottom: 2px solid #ff6700;
}

/* ul内容图片展示 */
.main .box-content {
	position: relative;
}

.main .box-content img {
	width: 234px;
	display: block;
}

.box-content .left {
	float: left;
	width: 234px;
}

.box-content .left a {
	display: block;
	width: 100%;
	height: 100%;
}

.box-content .brick-item {
	margin-bottom: 14px;
}

.box-content .brick-item:hover {
	-webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
	-webkit-transform: translate3d(0, -2px, 0);
}

/* 右边 */
.box-content .right {
	position: absolute;
	top: 0;
	right: 0;
	width: 992px;
	display: none;
}

.right .brick-item-m {
	float: left;
	width: 234px;
	padding: 19px 0;
	margin-left: 14px;
	background-color: #fff;
}

.box-content .right a {
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
}

.right .brick-item-m .figure-img {
	width: 160px;
	height: 160px;
	margin: 0 auto 18px;
}

.right .brick-item-m .figure-img img {
	width: 160px;
	height: 160px;
}



.brick-item-m .title {
	margin: 0 10px 2px;
	font-size: 14px;
	font-weight: 400;
	color: #333;
	white-space: nowrap; /* 防止文本换行 */
	overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 在溢出时显示省略号 */
}

.brick-item-m .desc {
	margin: 0 10px 10px;
	height: 18px;
	font-size: 12px;
	color: #b0b0b0;
	white-space: nowrap; /* 防止文本换行 */
	overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 在溢出时显示省略号 */
}

.brick-item-m .price {
	margin: 0 10px 10px;
	text-align: center;
	color: #ff6700;
	margin: 0 10px 12px;
}

.brick-item-m .price del {
	margin-left: .5em;
	color: #b0b0b0;
}

.right .brick-item-m2 {
	padding-top: 50px;
	height: 144px;
	position: relative;
}

.right .brick-item-m2 img {
	width: 80px;
	height: 80px;
}

.right .brick-item-m2 .figure {
	position: absolute;
	right: 20px;
	top: 32px;
	width: 80px;
	height: 80px;
}

.right .brick-item-m2 .title {
	margin: -10px 110px 5px 30px;
	white-space: normal;
	text-align: left;
	width: 90px;
	font-size: 14px;
	font-weight: 400;
}

.right .brick-item-m2 .price {
	margin: 0 110px 0 30px;
	font-size: 14px;
	text-align: left;
	color: #ff6700;
}

.right .brick-item-m2 .more {
	display: block;
	margin: 0 110px 0 30px;
	font-size: 18px;
	color: #333;
}

.right .brick-item-m2 i {
	position: absolute;
	right: 35px;
	display: block;
	width: 48px;
	height: 48px;
	background: #333333;
}

.right .brick-item-m2 .more small {
	display: block;
	font-size: 12px;
	color: #757575;
}

/* 大量图片共同部分end */


/* 查看全部 */
.main .box-hd .more2 {
	position: absolute;
	top: 0;
	right: 0;
	width: 92px;
}

.main .box-hd .more2 .more-link {
	font-size: 16px;
	line-height: 58px;
	color: #424242;
	-webkit-transition: all .4s;
	transition: all .4s;
}

.main .box-hd .more2 .more-link span{
	font-size: 20px;
	display: block;
	position: absolute;
	right: 0px;
	top: 0px;
}

.main .box-hd .more2 .more-link:hover {
	color: #FF6700;
}

/* 小米闪购 */
.btn-controls {
	position: absolute;
	right: 0;
	top: 24px;
}
.btn-controls .btn-flashsale-next,
.btn-controls .btn-flashsale-prev {
	display: inline-block;
	width: 36px;
	height: 24px;
	padding: 3px 5px;
	border: 1px solid black;
	font-size: 16px;
	font-weight: bold;
	line-height: 16px;
	-webkit-transition: color .5s;
	transition: color .5s;
	color:black;
	text-align: center;
	cursor: pointer;
}
.btn-controls .btn-flashsale-next:hover,
.btn-controls .btn-flashsale-prev:hover{
color: chocolate;
}
.flashsale-countdown {
	float: left;
	width: 234px;
	height: 340px;
	text-align: center;
	background: #f1eded;
}
.flashsale-countdown .ground{
	font-size: 21px;
	color: #ef3a3b;
	padding-top: 15px;
}

.box-content .flashsale-countdown img {
	width: 34px;
	height: 53px;
	margin: 25px auto;
}
.box-content .flashsale-countdown . {
	color: black;
	font-size: 15px;
}

.box-content .flashsale-countdown .countdown {
	width: 168px;
	margin: 28px auto 0;
}

.box-content .flashsale-countdown .countdown span{
	display: block;
	width: 46px;
	height: 46px;
	background-color: gray;
	float: left;
	color: #fff;
	font-size: 24px;
	line-height: 46px;
}
.box-content .flashsale-countdown .countdown i {
	width: 15px;
	float: left;
	height: 46px;
	line-height: 46px;
	color: #605751;
	font-size: 28px;
	font-style: normal;
}
.box-content .flashsale-list {
	float: right;
	position: relative;
	overflow: hidden;
	z-index: 1;
	width: 978px;
}

.box-content .flashsale-list ul {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: flex;
}
.box-content .flashsale-list li{
	width: 234px;
	height: 340px;
	margin-right: 14px;
	text-align: center;
	background-color: rgba(0, 0, 0, .02);
	position: relative;
	flex-shrink: 0;
}
.box-content .flashsale-list li a {
	display: block;
	height: 100%;
	padding-top: 39px;
	position: relative;
}
.box-content .flashsale-list .thumb {
	width: 160px;
	margin: 0 auto 22px;
}
.box-content .flashsale-list .thumb img {
	height: 160px;
	width: 160px;
}
.box-content .flashsale-list .title {
	margin: 0 auto 3px;
	font-size: 14px;
	color: black;
}
.box-content .flashsale-list .desc {
	font-size: 18px;
	margin: o auto 12px;
	color: grey;
}
.box-content .flashsale-list .price {
	color: #ff6709;
}

.box-content .flashsale-list .price del {
	color: #b0b0b0;
}

/* 主体内容的分页部分end */
/* section主体内容end */
/* ------------------------------------------------------------------- */
/* 页脚start */
.site-footer {
	background-color: #fff;
}
.site-footer .footer-service {
	padding: 27px 0;
	border-bottom: 1px solid #e0e0e0;
}
.site-footer .footer-service li{
	display: block;
	float: left;
	width: 200px;
	height: 30px;
	margin-left: 38px;
	font-size: 18px;
	line-height: 30px;
	border-left: 1px solid #e0e0e0;
	text-align: center;
	position: relative;
}
.site-footer .list-service li:first-child {
	border-left: 0;
}
.site-footer .list-service a {
	color: black;
}
.site-footer .list-service span{
	font-size: 30px;
	margin-right: 5px;
}
.site-footer table{
	border: none;
	width: 960px;
}
.site-footer table th{
	height: 50px;
}
.site-footer table td{
	text-align: center;
}
.site-footer .footer-contact {
	float: right;
	width: 251px;
	height: 112px;
	border-left: 1px solid #e0e0e0;
	text-align: center;
	color: #616161;
	position: relative;
	top: -112px;
}
.site-footer .footer-contact .phone {
	margin: 0 0 5px;
	font-size: 22px;
	color: #ff6700;
}
.site-footer .footer-contact p {
	margin: 0 0 16px;
	font-size: 12px;
}
.contact-rengong{
	border: 1px #ff6700 solid;
	background: #fff;
	color: #ff6700;
	font-size: 20px;
	width: 118px;
	height: 30px;
}
.contact-rengong:hover{
	background-color: #ff6700;
	color: #fff;
}
.slogan{
	clear: both;
	color: darkgray;
	width: 100%;
	height: 30px;
	margin:0 auto 0;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	background-color: #f5f5f5;
	position: relative;
	top: -50px;
}

/* 页脚end */

/*--------------------小米商城div_home--------------------*/
.div_home {
	width: 27px;
	height: 261px;
	position: fixed;
	right: 34px;
	bottom: 66px;
}
.div_home a {
	width: 27px;
	height: 42px;
	display: block;
	text-align: center;
	border: 1px solid #F5F5F5;
	border-style: none none solid solid;
	position: relative;
}
.div_home .footer-word {
	position: absolute;
	right: 40px;
	top: 5px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	padding: 0 8px;
	background-color: #FFFFFF;
	color: #757575;
	font-size: 14px;
	z-index: 1000;
	white-space: nowrap;
	display: none;
}
.div_home a:hover .footer-word {
	display: block;
}


